package br.com.salao.session;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;

public interface CriptografiaBase extends Serializable {
	
	String gerarSenhaCriptografada(String senhaOriginal) throws NoSuchAlgorithmException, UnsupportedEncodingException;
	boolean isSenhaValida(String senhaDigitada , String senhaArmazenada) throws NoSuchAlgorithmException, UnsupportedEncodingException;

}
